package com.sys.server.modules.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName(value = "post")
@ApiModel(value = "讨论区-帖子表")
public class PostEntity implements Serializable {

    @TableId(value = "postid", type = IdType.AUTO)
    @ApiModelProperty(value = "编号")
    private Integer postid;
    @ApiModelProperty(value = "标题")
    private String title;
    @ApiModelProperty(value = "发布用户")
    private String reluser;

}
